import http from '@/http'
import * as T from './types'

export const API_PRE = 'http://localhost:8080/xiaopeng'

/**
 * 登录
 */
export const loginApi = http.post<string, T.LoginParams>(`${API_PRE}/erp/user/login`)